#ifndef DIV1_H
#define DIV1_H

#include <QMainWindow>

namespace Ui {
class div_;
}

class div_ : public QMainWindow
{
    Q_OBJECT

public:
    explicit div_(QWidget *parent = 0);
    int a = 0;
    int b = 0;
    int sum = 0;
    int total = 0;
    int right = 0;
    int wrong = 0;

    ~div_();

private slots:
    void on_pushButton_clicked();

    void on_pushButton_2_clicked();

    void on_pushButton_3_clicked();

    void check_sum();

signals:
    void sendsignal();

private:
    Ui::div_ *ui;
};

#endif // DIV1_H
